/*jQuery.fn.center = function () {
		    this.css("position","absolute");
		    this.css("top", (($(window).height() - this.outerHeight()) / 2) + $(window).scrollTop() + "px");
		    this.css("left", (($(window).width() - this.outerWidth()) / 2) + $(window).scrollLeft() + "px");
		    return this;
		}
	
		$(document).ready(function(){
			$( "#terms_modal" ).css('display','none');
			$("select, input:checkbox, input:radio, input:file").uniform();
			$("#terms").live('click', function(){
				openModal()
			})			
			
			function openModal(){
				$("#terms_modal").fadeIn().center();
				$("#gray-box").fadeIn();
				
				$("#gray-box, #modal_close").click(function(){
					$("#terms_modal").fadeOut();
					$("#gray-box").fadeOut();
				})
			}		
		})
		$(document).ready(function(){
			$("select, input:checkbox, input:radio, input:file").uniform();
		});
};*/